#include "../include/FileProcessor.hpp"

FileProcessor::FileProcessor()
{
}

FileProcessor::~FileProcessor()
{
}

void FileProcessor::process(vector<string> &files)
{
	RssReader rssReader;
	for (auto &fileName : files)
	{
		rssReader.parseRss(fileName);
	}
	_proFiles = rssReader.getVecRss();
}

vector<processedFile> & FileProcessor::getVecProFiles()
{
	return _proFiles;
}
